/**
 * @type {Number}
 *
 * @properties={typeid:35,uuid:"9DB37B3B-801F-4855-96F2-689BC9F174B6",variableType:4}
 */
var fSolucion = null;

/**
 *
 * @properties={typeid:24,uuid:"e283b0c4-cb1c-414d-ac20-b3c3335784ae"}
 */
function iraPantallasDtl()
{
	forms.pantallasDtl.controller.show()
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"81AF9724-3618-49B0-A506-D44746BE8DB8"}
 */
function nuevo(event) {
	var $win = application.createWindow('ALTA_FORM',JSWindow.MODAL_DIALOG)
	forms.pantallas_alta.controller.show($win)
}

/**
 * Handle changed data.
 *
 * @param {Number} oldValue old value
 * @param {Number} newValue new value
 * @param {JSEvent} event the event that triggered the action
 *
 * @returns {Boolean}
 *
 * @properties={typeid:24,uuid:"A9E9A3FE-A824-42AE-B765-EF92547B428B"}
 * @AllowToRunInFind
 */
function onDataChangeSolucion(oldValue, newValue, event) {
	controller.find()
	id_solucion = fSolucion
	controller.search()
	return true
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"ECA0404B-D7F3-4173-9C27-16ADD80AE5B4"}
 */
function csv(event) {
	globals.pasaraCsv('pantallasLst')
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"32AE956B-BC3E-4F9A-BD56-8938F16DDE31"}
 */
function cargarCsv(event) {
	globals.cargarCsv(controller.getDataSource())
}
